decorative banner

Constants (PB only)


    Motion Math treats certain functions as constants for the duration of the work area. Constants always return the same value in the same composition and work area. For example, the constant comp_width obtains the width of the composition, which does not vary. Because you cannot assign new values to constants, they can be used only on the right side of an assignment. In the following example, the height of the composition is assigned to the variable H1:

    H1 = comp_height;

    For a list of constants in Motion Math, see Constants (PB only).